/*
 * @Author: your name
 * @Date: 2021-11-20 08:20:40
 * @LastEditTime: 2021-11-20 08:20:40
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \li-yuwei\admin\src\utils\directives.js
 */
import copy from "./v-copy";
// 自定义指令
const directives = {
    copy,
};
// 这种写法可以批量注册指令
export default {
    install(Vue) {
        Object.keys(directives).forEach((key) => {
            Vue.directive(key, directives[key]);
        });
    },
};